package com.gg.user.gguser.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
// @RequestMapping("/page")
public class PageContrlooer {
    private Logger logger = LoggerFactory.getLogger(getClass());

    @RequestMapping("/{path}")
    public String index(@PathVariable() String path) {
        return path;
    }

//    @RequestMapping("/{path}/{pagetow}")
//    public String index(@PathVariable() String path,@PathVariable() String pagetow) {
//        return path + '/' + pagetow;
//    }
}
